package com.whsxt.feign.hystrix;

import com.whsxt.domain.Prod;
import com.whsxt.feign.IndexImgProdFeign;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * @Author: caoqingwen
 * @CreateTime: 2021-03-18 15:08
 * @Description:
 */
@Component
@Slf4j
public class IndexImgProdFeignHystrix implements IndexImgProdFeign {


    @Override
    public Prod findProdById(Long prodId) {
        log.info("远程调用失败了");
        return null;
    }
}
